#include "syscall.h"
/*
Modifications by: Paul Krushinskie
*/
int
main()
{
    SpaceId newProc;
    OpenFileId input = ConsoleInput;
    OpenFileId output = ConsoleOutput;
    char prompt[2], ch, buffer[60];
    int i;

    prompt[0] = '>';
    prompt[1] = '>';
    
	
			
    while( 1 )
    {
		Write(prompt, 2, output);	
        i = 0;
		
  //      do {
            Read(&buffer[i], 1, input); 

    //    } while( buffer[i++] != '\n' );


            newProc = Exec(buffer);
            Join(newProc);
	
    }
	
}


